<template>
    <StElDynamicForm :submit-props="{method: 'post',url:PortraitUserTagsRelUrl.userTagsAssignUser,label: '保存'}"
                     :datas="$stStringTools.replaceb(PortraitUserTagsRelUrl.checkedUserTagsIds,{userTagsId: $route.query.userTagsId})"
                     :datas-format="datasFormat"
                     :options="PortraitUserTagsRelFormOptions" :origin-prop="{inline: true,labelWidth: '100px'}" :helper-form="{userTagsId: $route.query.userTagsId}">

    </StElDynamicForm>
</template>

<script>
    import PortraitUserTagsRelMixin from '../PortraitUserTagsRelMixin.js'

    export default {
        name: "UserTagsAssignUserRel",
        mixins: [PortraitUserTagsRelMixin],
        data() {
            return {}
        },
        methods: {
            datasFormat(data) {
                return {
                    checkedUserIds: data
                }
            }
        }
    }
</script>

<style scoped>

</style>